<template>
  <div>
    <h4>Berg平衡评定</h4>
    <div class="berg">
      <el-row type="flex" justify="space-between">
        <el-col :span="6">
          <div>
            <el-button type="primary">填写《Berg平衡量表》</el-button>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>Berg平衡 </span>
            <el-input v-model="pgForm.berg_point" style="width: 30%" readonly></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="9">
          <div>
            <el-input v-model="pgForm.berg_text" readonly></el-input>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "berg",
  title: "平衡功能评定",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data(){
    return{
      pgForm: {
        berg_point: '',
        berg_text: '',
      }
    }
  },

}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
</style>
